class Solution
{
public:
    vector<long long> maximumEvenSplit(long long finalSum)
    {
        if (finalSum & 1)
        {
            return {};
        }
        long long element = 2;
        vector<long long> result;
        while (finalSum / 2 > element)
        {
            result.push_back(element);
            finalSum -= element;
            element += 2;
        }
        if (finalSum != 0)
        {
            result.push_back(finalSum);
        }
        return result;
    }
};